const api = "http://118.25.222.68:5757/heyushuo"

const interfaces = {
  homepage: api + "/index/index",
  topic: api + "/topic/listaction",
  categoryIndex: api + "/category/indexaction",
  categoryCurrent: api + "/category/currentaction",
  cateDetail: api + "/category/categoryNav",
  article: api + "/goods/goodsList",
  brand: api + "/brand/detailaction",
  brandlist: api +"/brand/listaction",
  newgoods: api + "/goods/goodsList" ,
  goodsDetail: api + "/goods/detailaction",
  addCard: api + "/cart/addCart",
  cartList: api + "/cart/cartList",
  del: api + "/cart/deleteAction",
  sumitDer: api + "/order/submitAction",
  orderDetail: api + "/order/detailAction",//获取订单信息
  hotDetail: api + "/search/indexaction",//热门搜索
  searchList: api + "/search/helperaction",//实时搜索
  addHistory: api + "/search/addhistoryaction",//添加历史记录
  clearHistory: api + "/search/clearhistoryAction",//清空历史记录
  saveAddress: api + "/address/saveAction",//保存收货地址
  getAddress: api + "/address/getListAction",//获取地址列表
  getDetailAction: api + "/address/detailAction",//获取地址详情
  deleteAction: api + "/address/deleteAction",//删除地址
  topList: api + "/topic/detailaction",//专题详细信息
  saveCollect: api + "/collect/addcollect",//收藏商品
  collectList: api + "/collect/listAction"//我的收藏
}

module.exports = interfaces